package com.zz.adminv1.service.impl;

import com.zz.common.service.DictService;
import com.zz.oa.domain.NotifyDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.zz.adminv1.dao.ImageDao;
import com.zz.adminv1.domain.ImageDO;
import com.zz.adminv1.service.ImageService;



@Service
public class ImageServiceImpl implements ImageService {
	@Autowired
	private ImageDao imageDao;
	
	@Override
	public ImageDO get(Integer id){
		return imageDao.get(id);
	}
	@Autowired
	private DictService dictService;
	@Override
	public List<ImageDO> list(Map<String, Object> map){

		return imageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return imageDao.count(map);
	}
	
	@Override
	public int save(ImageDO image){
		return imageDao.save(image);
	}
	
	@Override
	public int update(ImageDO image){
		return imageDao.update(image);
	}
	
	@Override
	public int remove(Integer id){
		return imageDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return imageDao.batchRemove(ids);
	}
	
}
